<div class="content">   
﻿<body onload="initialize()">
<table border="1">
    <tr>
        <td><?php echo $this->translate('Route name'); ?></td>
        <td><?php echo $this->translate('Action'); ?></td> 
    </tr>
<?php 
foreach($this->routes as $val) { ?>
    <tr>
        <td>
    <?php        
    //link
    echo "<a href=".$this->url(array(
                                    'controller' => 'routes',
                                    'action'     => 'routeonmap',
                                    'id'         => $val['id']
            )).">".$val['name']."</a><br />";
    ?>
        <td>
    <?php    
    //delete
    echo "<a href=".$this->url(array(
                                    'controller' => 'routes',
                                    'action'     => 'deleteRoute',
                                    'id'         => $val['id']
            )).">".$this->translate('Delete route')."</a><br />";
    ?>  
        </td>
<?php
}
?>
</table>    
</body>
</div>